#include "enigmaencryptor.h"

QByteArray EnigmaEncryptor::enigmaEncrypt(const QByteArray& data)
{
    QByteArray retData(data.size(), 0x00);
    auto it1 = data.begin();
    auto it2 = retData.begin();
    for (; it1 < data.end(); ++it1, ++it2)
    {
        getChar(*it1, *it2);
    }
    return retData;
}

